package com.symone.crawler.config;

public class AirBnbConfig {

    public static String key = "d306zoyjsyarp7ifhu67rjxn52tv0t20";
    public static String city = "上海";
    public static int page_num = 18;
    public static int search_max_page = 17;
    public static int base_price = 69;

    public static String DOMAIN_URL = "https://www.airbnb.cn";

    // https://www.airbnb.cn/api/v2/explore_tabs?query=上海&key=d306zoyjsyarp7ifhu67rjxn52tv0t20&items_offset=36
    public static String LIST_URL = "https://www.airbnb.cn/api/v2/explore_tabs";

    // https://www.airbnb.cn/api/v1/listings/8608503?key=d306zoyjsyarp7ifhu67rjxn52tv0t20
    public static String INFO_URL = "https://www.airbnb.cn/api/v1/listings/";

    // https://www.airbnb.cn/api/v2/calendar_months?_format=with_conditions&count=1&currency=CNY&key=d306zoyjsyarp7ifhu67rjxn52tv0t20&listing_id=5116570&locale=zh&month=7&year=2019
    public static String SCHEDULE_URL = "https://www.airbnb.cn/api/v2/calendar_months";

    //https://www.airbnb.cn/api/v2/user_promo_listings?_limit=10&_offset=10&currency=CNY&key=d306zoyjsyarp7ifhu67rjxn52tv0t20&locale=zh&user_id=110234520
    public static String USER_PROMO_LISTINGS_URL = "https://www.airbnb.cn/api/v2/user_promo_listings";

}
